package io.gitee.yth.design.pattern.test.core.pattern.structural.adapter.interfaceAdapter;

import org.junit.jupiter.api.Test;

/**
 * @author yth
 * @since 2023-04-25-0:42
 */
public class Client {

    @Test
    public void test1() {
        Animator.AnimatorListener animatorListener = new AnimatorListenerAdapter() {
            @Override
            public void onAnimationStart(Animator animation) {
                System.out.println("animation start ...");
                // my business code here ...
            }
        };
        System.out.println(animatorListener);
    }

}
